<?php

namespace App\Modules\CodeDesigner\DynamicProxyMode;

use Hyperf\Pool\Connection;

interface MysqlPool
{

    public function __construct(string $db, int $size = 0);

    public function get() : Connection;

    public function put(Connection $connection): void;
}